<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>
<div class="row">
	<div class="col-md-8 col-sm-8 col-lg-8 hidden-xs" >
		
		<div class="col-md-5 col-sm-5">
			<t:label path="projectId" cssClass="col-sm-3 col-md-3" />
			<t:select2 path="projectId" colClass="col-sm-9 col-md-9"  />
		</div>
		<div class="col-md-5 col-sm-5">
			<t:label path="experimentId" cssClass="col-sm-3 col-md-4" />
			<t:select2 path="experimentId" colClass="col-sm-9 col-md-8"  />
		</div>
	</div>
	<div class="col-md-4 col-sm-4 col-lg-4 col-xs-12 text-right">
		<t:roleButton />
	</div>
</div>

<script type="text/javascript">
function addData(){
	top.openModal("/admin/experimentExcel/experimentExcelDetailed","experimentExcel_form","实验数据详情-添加",800,306);
}
function editData(){
	var id=getKeyId();
	if(isEditor(id)){
		top.openModal("/admin/experimentExcel/experimentDetailed2?label=true&key="+id,"experimentExcel_form","实验数据详情-修改",900,646);
	}
}

function deleteData(){
	var id=getKeyId();
	if(isEditor(id)){
		var url=$.getVirtualPath()+"/admin/experimentExcel/delete?key="+id;
		deleteDataEx(url,function(data){
			if(data.resultType=="success"){
				formSubmit();
			}
		});
	}
}

</script>